<template>
    <div class="flex">
        <p>aaa</p>
        <p>bbb</p>
        <p>ccc</p>
        <p>ddd</p>
        <p>eee</p>
        <p>fff</p>
        <p>eee</p>
        <p>fff</p>
        <p>ggg</p>
    </div>
</template>

<style scoped>
.flex{
    display: flex;
    background: #03A9F4;
    width: 100px;
    color: black;
}
.flex p{
    background:#FFEB3B;
}
</style>